/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dijkstra;

/**
 *
 * @author luisorozco
 */
//*

import java.util.LinkedList;


public abstract class AbsGraph<T> implements InterGraph<T> {
    
    
    
    protected LinkedList<T> map; 
    protected LinkedList<LinkedList<Node<Integer>>> list; 

   
    public AbsGraph() {
        this.map = new LinkedList<T>();
        this.list = new LinkedList<LinkedList<Node<Integer>>>();
    }

 
    public LinkedList<T> getMap() {
        return map;
    }

    public LinkedList<LinkedList<Node<Integer>>> getList() {
        return list;
    }

    
    public void setMap(LinkedList<T> mapa) {
        this.map = mapa;
    }

    public void setList(LinkedList<LinkedList<Node<Integer>>> list) {
        this.list = list;
    }
}
